<?php
/**
 * Created by 784855684@qq.com.
 * Link: https://github.com/lichtung/inframe
 * User: linzh
 * Date: 6/25/17
 * Time: 5:58 PM
 */


namespace inframe\throws;


use inframe\core\Logger;
use inframe\Exception;

class DatabaseException extends Exception
{

    public function __construct(...$params)
    {
        parent::__construct($params);
        Logger::getLogger('db')->info($params);
    }

}